<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--
Copyright 2010 by Dan Fabulich.

Dan Fabulich licenses this file to you under the
ChoiceScript License, Version 1.0 (the "License"); you may
not use this file except in compliance with the License. 
You may obtain a copy of the License at

 http://www.choiceofgames.com/LICENSE-1.0.txt

See the License for the specific language governing
permissions and limitations under the License.

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta name = "viewport" content = "width = 320">
<!-- INSERT correct meta values -->
<title>Multiple Choice Example Game | My First ChoiceScript Game</title>
<meta name = "description" content = "This is a description of the game that search engines can see.">
<link rel="canonical" href="/mygame/" />

<script src="../web/util.js"></script>
<script src="../web/ui.js"></script>
<script src="../web/scene.js"></script>
<script src="../web/navigator.js"></script>
<script>window.version="DEVELOPMENT"</script>
<script src="../web/mygame/mygame.js"></script>
<script>
  window.alreadyLoaded = true;
  window.onload = function() {
    window.main = document.getElementById("main");
    var editor = window.opener;
    window.debug = false;
    try {
      debug = editor.document.getElementById('debug').checked;
    } catch (e) {}
    loadLines(editor.getContent(), debug);
  };
  Scene.prototype.oldLoadScene = Scene.prototype.loadScene;
  Scene.prototype.loadScene = function () {
    if (this.name == "startup") {
      this.loadLines(window.opener.getContent());
      this.debugMode = window.debug;
      if (this.executing) {
        doneLoading();
        this.execute();
      }
    } else {
      this.oldLoadScene();
    }
  }
  function loadLines(lines, debug) {
    window.stats.sceneName = "startup";
    var scene = new Scene("startup", window.stats, window.nav, debug);
    safeCall(scene, scene.execute);
  }
  Scene.baseUrl = "../web/mygame/scenes";
  rootDir = "../web/"
</script>
<link href="../web/style.css" rel="stylesheet" type="text/css">
<link rel="icon" type="image/vnd.microsoft.icon" href="../web/favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon-precomposed" href="mobile-icon.png"/>
<link rel="SHORTCUT ICON" href="../web/favicon.ico"/>
<script>







</script>
<!-- INSERT JS AD VARIABLES HERE -->
</head>
<body>
<!-- INSERT JS AD ELEMENT HERE -->
<div id="header"><h1 class="gameTitle">My First ChoiceScript Game</h1>
  <p>
      <!-- INSERT proper share links here
      <span id="share"><span>Share on:</span>
        <span><img height="16" width="16" src="../icons/stumbleupon.png">
        <a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.choiceofgames.com/broadsides/&amp;title=Choice+of+Broadsides" class="spacedLink">StumbleUpon</a></span>
        <span><img height="16" width="16" src="../icons/facebook.ico">
        <a href="http://www.facebook.com/sharer.php?u=http://www.choiceofgames.com/broadsides/&amp;t=Multiple+Choice+Navy+Game+|+Choice+of+Broadsides"
        onclick="window.open(&quot;http://www.facebook.com/sharer.php?u=http://www.choiceofgames.com/broadsides/&amp;t=Multiple+Choice+Navy+Game+|+Choice+of+Broadsides&quot;,&quot;sharer&quot;,&quot;toolbar=0,status=0,width=626,height=436&quot;);return false;" class="spacedLink">Facebook</a></span>
        <span><img height="16" width="16" src="../icons/twitter.ico">
        <a href="http://twitter.com/home?status=Check+out+&quot;Choice of Broadsides&quot;+http://bit.ly/choiceofbroadsides+from+@choiceofgames" class="spacedLink">Twitter</a></span>
      </span> -->
    </p>
  <!-- <p><button onclick="showStats()">Show Stats</button></p> -->
</div>
<div id="main">
<div id="text">
<script>document.write('<div id="loading"><p>Loading...</p><p><img src=\"../web/loader.gif\"></p></div>');</script>
</div>
</div>
<noscript>
<p>This is just an example game.</p>
<p>This game requires JavaScript; please enable JavaScript and refresh this page.</p>
<p>If you can't get the game to work, please write to us at <a href="mailto:support@choiceofgames.com">support@choiceofgames.com</a> for assistance.</p>
</noscript>
<!-- INSERT GOOGLE ANALYTICS STUFF HERE -->
</body>
</html>
